2-FREE-FLOOD-IT is polynomial

نویسنده

  • Aurélie Lagoutte
چکیده

We study a discrete diffusion process introduced in some combinatorial games called FLOODIT and MADVIRUS that can be played online [1, 2] and whose computational complexity has been recently studied [3, 4]. The flooding dynamics used in those games can be defined for any colored graph. It is shown in [5] that studying this dynamics directly on general graph is a valuable approach to understand its specificities and extract uncluttered key patterns or algorithms that can be applied with success to particular cases like the square grid of FLOODIT or the hexagonal grid of MADVIRUS, and many other classes of graphs. This report is the translation from french to english of the section in [5] showing that the variant of the problem called 2-Free-Flood-It can be solved with a polynomial algorithm, answering a question raised in [3, 4]. 1 Definitions and notation Let G = (V,E) be a connected undirected graph, with vertices V and edges E. The number of vertices (resp. edges) will be denoted n (resp. m). A coloration of G is a mapping from V into a set of colors C. It will be called a c-coloration if |C| = c. It will be called a proper coloration if adjacent vertices have different colors. Once a coloration of G is given, a zone Z is defined as a connected monochromatic subset of V . The dynamics which is studied consists in applying a sequence of flooding operations to an initial colored graph. In the FREE-FLOOD-IT version [3, 4] that is studied here, a flooding operation consists in choosing a zone Z and a color c and then replacing the color of all vertices in Z by c. It yields a new coloration of the initial graph where the zone Z may extend if some adjacent zones were colored by c. The game associated to this dynamics takes a colored graph as input and aims at finding the shortest length of a sequence leading to a monochromatic graph. At that time, we say that we have flooded the whole graph. Finding this shortest length is an optimization problem, which is hard for general graphs when working with 3 or more colors (NP-hardness results in [3, 4]). But for 2 colors, the optimization problem that will be called 2-Free-Flood-It has a computational complexity which remained open (the question was raised in [3, 4] for the class of square

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The complexity of flood-filling games on graphs

We consider the complexity of problems related to the combinatorial game Free-Flood-It, in which players aim to make a coloured graph monochromatic with the minimum possible number of flooding operations. Although computing the minimum number of moves required to flood an arbitrary graph is known to be NP-hard, we demonstrate a polynomial time algorithm to compute the minimum number of moves re...

متن کامل

Flood-it on AT-Free Graphs

Solitaire Flood-it, orHoney-Bee, is a game played on a colored graph. The player resides in a source vertex. Originally his territory is the maximal connected, monochromatic subgraph that contains the source. A move consists of calling a color. This conquers all the nodes of the graph that can be reached by a monochromatic path of that color from the current territory of the player. It is the a...

متن کامل

Numerical investigation of free surface flood wave and solitary wave using incompressible SPH method

Simulation of free surface flow and sudden wave profile are recognized as the most challenging problem in computational hydraulics. Several Eulerian/Lagrangian approaches and models can be implemented for simulating such phenomena in which the smoothed particle hydrodynamics method (SPH) is categorized as a proper candidate. The incompressible SPH (ISPH) method hires a precise incompressible hy...

متن کامل

A Numerical Approach for Solving of Two-Dimensional Linear Fredholm Integral Equations with Boubaker Polynomial Bases

In this paper, a new collocation method, which is based on Boubaker polynomials, is introduced for the approximate solutions of a class of two-dimensional linear Fredholm integral equationsof the second kind. The properties of two-dimensional Boubaker functions are presented. The fundamental matrices of integration with the collocation points are utilized to reduce the solution of the integral ...

متن کامل

On the domination polynomials of non P4-free graphs

A graph $G$ is called $P_4$-free, if $G$ does not contain an induced subgraph $P_4$. The domination polynomial of a graph $G$ of order $n$ is the polynomial $D(G,x)=sum_{i=1}^{n} d(G,i) x^{i}$, where $d(G,i)$ is the number of dominating sets of $G$ of size $i$. Every root of $D(G,x)$ is called a domination root of $G$. In this paper we state and prove formula for the domination polynomial of no...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1008.3091  شماره 

صفحات  -

تاریخ انتشار 2010